package uk.co.revisual.puremvc.loader.deconstructors
{
	
	import flash.display.Bitmap;
	import flash.display.DisplayObject;
	
	import uk.co.revisual.puremvc.loader.interfaces.*;
	import uk.co.revisual.puremvc.loader.interfaces.IDeconstruct;
	
	/**
	* ...
	* @author DefaultUser (Tools -> Custom Arguments...)
	*/
	public class  BMPDeconstructor implements IDeconstruct
	{
		private var mBMP:Bitmap;
		
		public function BMPDeconstructor(bmp:Bitmap):void
		{
			mBMP = bmp;
		}
		
		public function deconstruct():void
		{

			mBMP.bitmapData.dispose();
			mBMP = null;
		}
		
	}
	
}